package com.zygh.dlqwservice.module.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import javax.validation.constraints.NotNull;

/**
 * <p>
 * 
 * </p>
 *
 * @author lee
 * @since 2020-12-24
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel(value="JobsUser对象", description="")
public class JobsUser implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "主键")
    @TableId(value = "jobsUserId", type = IdType.AUTO)
    private Integer jobsUserId;

    @ApiModelProperty(value = "警号")
    @NotNull(message = "警员警号 不能为空")
    private String warningsignal;

    @ApiModelProperty(value = "岗位id", example = "1")
    @NotNull(message = "岗位id 不能为空")
    private Integer jobsId;

    @ApiModelProperty(value = "最后一次修改的时间戳")
    private String lastTime;


}
